package io.github.iogogogo.provider;

import javax.sql.DataSource;
import java.util.Map;

/**
 * Created by tao.zeng on 2024/11/7.
 */
public interface DynamicDataSourceProvider {

    String DEFAULT_DATASOURCE = "master";

    /**
     * 加载所有的数据源
     *
     * @return 数据源集合
     */
    Map<String, DataSource> loadDataSources();
}
